import React, { memo } from 'react'
import { entryData } from '../../../constans/home';
import styles from '../index.module.scss'

export default memo(
    function Nav() {

        return (
            <div className={styles.entry}>
                {
                    entryData.map(v =>
                        <div key={v.id}  >
                            <img src={v.imgSrc} className={styles.entry_item_img} alt="" />
                            <span className={styles.entry_item_text}>{v.text}</span>
                        </div>
                    )
                }
            </div>
        )
    }

)